package com.qlshouyu.len45.configuration;

import com.qlshouyu.len45.models.Address;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * TODO
 *
 * @author 高露 邮箱：<a href="egojit@qq.com">egojit@qq.com</a>
 * @since 2019-11-03 21:07
 */
@Configuration
public class AddressAutoConfiguration {
    @Bean
    public Address address(){
        Address address=new Address();
        address.setName("安徽");
        return  address;
    }
}
